home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / e / misc.save / 000327_VAXman-@SendSpamHere.ORG_Sat Mar 13 11:19:26 2010.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Path: reader1.panix.com!panix!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx01.iad01.newshosting.com!209.197.12.246.MISMATCH!nx02.iad01.newshosting.com!newshosting.com!69.16.185.51.MISMATCH!isp-post01.iad!news.cv.net!not-for-mail
  2. Newsgroups: comp.protocols.kermit.misc
  3. Subject: Re: C-Kermit 9.0 for VAX?
  4. References: <slrnhn34mm.em3.fdc@panix2.panix.com> <cd3c4f24-9503-451d-a2a6-a82aca4152ad@x22g2000yqx.googlegroups.com>    <slrnhn653a.shk.fdc@panix1.panix.com> <b024c26a-a8ec-4ac2-89ad-b6662d8d58bd@a18g2000yqc.googlegroups.com>    <slrnhpl8gu.1ob.fdc@panix3.panix.com> <35c371b6-5d75-40c2-89a3-00b977ee9b88@g28g2000yqh.googlegroups.com>
  5. From:   VAXman-  @SendSpamHere.ORG
  6. Reply-To:   VAXman-  @SendSpamHere.ORG
  7. Date: Sat, 13 Mar 2010 11:18:08 GMT
  8. Message-ID: <00A9A5FD.6A093DF8@SendSpamHere.ORG>
  9. Organization: c.2010 Brian Schenkenberger. Prior employers of copyright holder and their agents must first obtain written permission to copy this posting.
  10. Lines: 31
  11. NNTP-Posting-Host: 24.187.213.26
  12. X-Complaints-To: abuse@cv.net
  13. Xref: panix comp.protocols.kermit.misc:15929
  14.  
  15. In article <35c371b6-5d75-40c2-89a3-00b977ee9b88@g28g2000yqh.googlegroups.com>, Steven Schweda <sms.antinode@gmail.com> writes:
  16. >Frank da Cruz wrote:
  17. >
  18. >> : You working on that 64-bit math package for 32-bit systems?
  19. >> :
  20. >> I did it already for Unix.  I just use off_t instead of int.
  21. >> If a 32-bit system has off_t defined as a 64-bit signed int,
  22. >> poof, you have 64-bit arithmetic.
  23. >
  24. >   Sadly, on VAX, off_t is 32 bits, and I'm unaware of any
  25. >64-bit integer type.  Normally I wouldn't care, but someone
  26. >recently reminded me that Kermit on VMS doesn't use the C RTL
  27. >for file I/O, which did suggest that there might be hope for
  28. >proper large-file behavior (even) on VAX.  However, if all the
  29. >size/offset code is written assuming that off_t will do the
  30. >job, then there's probably little hope of finding a practical
  31. >way to make it work on VAX.
  32.  
  33. 64 bit integer math on VAX?  Simple!  VAX has instructions to implement
  34. 64 bit and larger datum.  ADDL/ADWC, SUBL/SBWC, EMUL, EMOD, EDIV and a
  35. number of other bit manipulation instructions with virtually no limits
  36. as to where the fields in the target datum begin or end.
  37.  
  38. What 64 bit math operations are needed?  Post them here.
  39. -- 
  40. VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG
  41.  
  42.   http://www.quirkfactory.com/popart/asskey/eqn2.png
  43.   
  44. Yeah. You know, it occurs to me that the best way you hurt rich people is by
  45. turning them into poor people. -- Billy Ray Valentine